<!DOCTYPE html>
<head>
  <title>container</title>
</head>
<body>
  <script>
    var iframe = document.createElement('iframe');
    iframe.id = "iframe";
    iframe.setAttribute("src", "iframe.html");
    document.body.appendChild(iframe);
    var global_var = "one";
  </script>
</body>
